package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectInfoTypeEnum;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;

/**
 * @Author:ZouChao
 * @Description:
 * @Date:Created in 14:45 2024/12/18
 * @Modified By:
 */
public interface SubjectTypeHandler {
    /**
     * 获取题目类型,枚举身份识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 真正的新增题目
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);

    /**
     *
     */
    SubjectOptionBO query(int subjectId);
}
